package com.huilian.iotbox.data.vo;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 龙 路 飞
 * @CreateDate: 2023-08-10 16:31
 * @Description:
 */
@Data
public class OrderItemVo extends QueryParam {
    /**
     *
     */
    private Long id;
    /**
     * 订单ID
     */
    private Long orderId;
    /**
     * 商品上下架ID
     */
    private Long commodityStoreUpDownId;
    /**
     * 数量
     */
    private Integer num;
    /**
     * 价格，单价
     */
    private BigDecimal price;
    /**
     * 0待付款，1成功，2，关闭，3撤销 ,4退单,5失败，6部分退款 7全额退款 8退款中 9退款失败
     */
    private Integer status;
    /**
     * 退单时间
     */
    private Date refundTime;

    private String commodityName;
    private Integer commodityType;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 图片名称
     */
    private String fileName;
    private Integer rechargeCoin;
    private Integer giveCoin;
    private Integer ticketPackageType;
    private Integer totalNumberOfPlay;
    private Integer amount;
    private Long commodityId;
    private BigDecimal retailPrice;

    private Integer shipmentStatus;

    private Integer shipmentFailureNum;

    private BigDecimal costPrice;

    /**
     * 层级，如第一层、第二层
     */
    private Integer hierarchy;

    /**
     * 货道，如货道1、货道2
     */
    private Integer freightLane;

    private Long displayRackId;

    private Integer stockBefore;

    private Integer stockAfter;

    private BigDecimal totalPrice;


    /**
     * 01 支付宝，02微信
     */
    private String channelType;

    private String outTradeNo;

    private String payNo;

    private Integer commodityCount;

    private BigDecimal rechargeBalance;
    private BigDecimal donateBalance;

}
